package ems.dev.easycode.common;

import com.google.common.base.CaseFormat;

/**
 * @author 狠穿
 * @version 1.0.0
 * @date 2023/5/28
 * @function
 */
public class BaseQuery {
    /**
     * 获取表的全部字段并组装字段的别名
     */
    public static String columnAsAlias(String column){
        return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL,column);
    }
}
